﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharedGenomics.Domain
{
    public class Tree<T>
    {
        #region Constructors

        public Tree()
            : this(null)
        {
        }

        public Tree(TreeNode<T> root)
        {
            this.Root = root;
        }

        #endregion

        #region Properties

        public bool IsEmpty
        {
            get { return (this.Root == null); }
        }

        public TreeNode<T> Root { get; set; }

        #endregion
    }
}
